package com.yoshino.visitor;

/**
 * @author yoshino
 **/
public class Success extends Action{
    @Override
    public void getManResult(Person man) {
        System.out.println(man.getName() +  "给的评价是好的");
    }

    @Override
    public void getWomanResult(Person woman) {
        System.out.println(woman.getName() + "给的评价是好的");
    }
}
